#!/bin/bash
mkdir -p Interfaz
mkdir -p cgi-bin
mkdir -p arch-temp-cgi

cd cliente/Debug
$prefix_client make

cp -r -f ../Interfaz ../../
cp -f ./cliente ../../Cliente

cd ../../parserPHP/Debug
$prefix_client make
cp -f ./parserPHP ../../cgi-bin/parserPHP.cgi

cd ../../pr/Debug
$prefix_client make
cp -f ./pr ../../cgi-bin/pr.cgi

cd ../../pr-zip/Debug
$prefix_client make
cp -f ./pr-zip ../../cgi-bin/pr-zip.cgi

cd ../../servidor/Debug
$prefix_client make
cp -f ./servidor ../../Servidor

#mkdir -p $(BASEDIR)
#cp -r -f ../$(BASEDIR) ./

